package com.agg.domain.command;


import com.agg.core.base.VoidEnum;
import com.agg.core.base.dao.IBaseMapper;
import com.agg.core.base.dto.ExtDTO;
import com.agg.core.base.dto.PaginationDTO;

/**
 * 分页查询命令
 * @param <T>
 */
public class QueryPageCmd<T> extends BaseCmd {

    private QueryPageCmd(){

    }

    public QueryPageCmd(IBaseMapper mapper){
        this.setMapper(mapper);
    }

    private PaginationDTO<T, VoidEnum, ExtDTO> pagination;

    public PaginationDTO<T, VoidEnum, ExtDTO> getPagination() {
        return pagination;
    }

    public void setPagination(PaginationDTO<T, VoidEnum, ExtDTO> pagination) {
        this.pagination = pagination;
    }

}
